using System;

namespace GeoFramework.IO.Bluetooth
{
	/// <summary>
	/// Summary description for BLUETOOTH_RADIO_INFO.
	/// </summary>
	internal class BLUETOOTH_RADIO_INFO
	{
		private const int Size = 520;
		private byte[] m_data;

		public BLUETOOTH_RADIO_INFO()
		{
			m_data = new byte[Size];
			//set size
			BitConverter.GetBytes(Size).CopyTo(m_data, 0);
		}

		public byte[] ToByteArray()
		{
			return m_data;
		}

        //public BluetoothAddress Address
        //{
        //    get
        //    {
        //        long addr = BitConverter.ToInt64(m_data, 8);
        //        return new BluetoothAddress(addr);
        //    }
        //}

        //public string Name
        //{
        //    get
        //    {
        //        string name = System.Text.Encoding.Unicode.GetString(m_data, 16, 496);
        //        return name.Substring(0, name.IndexOf('\0'));
        //    }
        //}

        //public ClassOfDevice ClassOfDevice
        //{
        //    get
        //    {
        //        return (ClassOfDevice)BitConverter.ToInt32(m_data, 512);
        //    }
        //}

        //public short LmpSubversion
        //{
        //    get
        //    {
        //        return BitConverter.ToInt16(m_data, 516);
        //    }
        //}

        //public Manufacturer Manufacturer
        //{
        //    get
        //    {
        //        return (Manufacturer)BitConverter.ToInt16(m_data, 518);
        //    }
        //}


	}
}
